// study.js
var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/01', function(req, res, next) {
  // res.render('index', { title: 'Express' });
  // res.render('study01', {user: {desc: '我喜欢猫!'}});
  res.render('study01', {user: {desc1: '我喜欢猫!'}});
});

router.get('/include', function(req, res, next) {
  res.render('study_include');
});

router.get('/layout', function(req, res, next) {
  res.render('study_article');
});


module.exports = router;
